<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div{
        width: 200px;
        height: 200px;
    }
</style>
<body>
    <div id="box">
        <a>11</a>
    </div>
    <script>
        let aa = 'http://localhost:8080/cnplan/arc_file/index?featureType=zh&arcNumsel=D(03-92)0519890195='
        cc = '222'
        let bb = 'user'
        document.getElementById('box').innerHTML = `<a href=${bb == 'user' ? 'javascript:void(0)' : aa + cc }>5555</a>`
    </script>
</body>

</html>